﻿using Abp.AutoMapper;
using FutureApp.Authorization.Roles;

namespace FutureApp.Roles.Dto
{
    /// <summary>
    /// 修改角色输入参数DTO
    /// </summary>
    [AutoMapTo(typeof(Role))]
    public class UpdateRoleInput
    {
        /// <summary>
        /// Id
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 显示名称
        /// </summary>
        public string DisplayName { get; set; }

        /// <summary>
        /// 默认自动分配给新用户
        /// </summary>
        public bool IsDefault { get; set; }
    }
}
